使用Math.floor和Math.random取隨機整數
Math.random():獲取0~1隨機數Math.floor() method rounds a number DOWNWARDS to the nearest integer, and retu ...
Math.random():獲取0~1隨機數Math.floor() method rounds a number DOWNWARDS to the nearest integer, and retu ...